-
Notifications
You must be signed in to change notification settings - Fork 9
Keep the system_prompt as an attribute of the agent. #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #20 +/- ##
==========================================
+ Coverage 54.86% 54.89% +0.03%
==========================================
Files 11 11
Lines 1489 1490 +1
==========================================
+ Hits 817 818 +1
Misses 672 672
🚀 New features to boost your workflow:
|
fixed the whitespace issue |
Don't output Persona metadata in the prompt() |
@@ -486,6 +488,8 @@ def __init__(self, | |||
stop_word=self.STOP_WORD | |||
) | |||
|
|||
self.system_prompt = system_prompt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to have the self.system_prompt
as an attribute that is never used inside the class? the self.prompt()
will return exactly the same as self.system_prompt
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, if self.prompt()
returns exactly that, there is no point in adding it as an attribute.
No description provided.